package com.lingnan.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateHrDTO {
    @NotNull(message = "HR ID不能为空")
    private Long id;
    
    private String name;
    
    private String position;
    
    @Email(message = "邮箱格式不正确")
    private String contactEmail;
    
    private String contactPhone;

    //userAccount 字段

    private String avatar;
    
    private String password; // 可选，如果传入则更新密码

}